﻿
namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 流转容器表
    /// </summary>
    [SugarTable("cks_container")]
    [Table(Name = "cks_container")]
    public class CksContainer : BaseEntity
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 流转容器编号 
        /// </summary>
        public string ContainerNo { get; set; }

        /// <summary>
        /// 任务编号 
        /// </summary>
        public string TaskNo { get; set; }=string.Empty;
        /// <summary>
        /// 绑定的面单号码
        /// </summary>
        public string WaybillNo { get; set; } =string.Empty;
        /// <summary>
        /// 状态 0 正常 1使用中 
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 禁用(无效)状态 
        /// </summary>
        public bool Nullity { get; set; }
        /// <summary>
        /// 生产模式 1正式 2调试
        /// </summary>
        public int ProductMode {  get; set; }
        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreatedTime { get; set; } = DateTime.Now;

       

    }
}